#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author   : PR
# @Time     : 2023/1/10 9:15
# @File     : readExcel.py
# @Project  : pythonoffice


import pandas as pd
import numpy as np

dates=['April-10', 'April-11', 'April-12', 'April-13','April-14','April-16']
sales=[200,300,400,200,300,300]
prices=[3, 1, 2, 4,3,2]

df = pd.DataFrame({'Date':dates ,
                   'Sales':sales ,
                   'Price': prices})
print(df)
# reqd_Index = df[df['Sales']>=300].index.tolist()
df2=df[df['Sales']>=300]
print(df2)